{extend name='common/common_layout'/}
{block name='source'}
    <link rel="stylesheet" href="__HOME__/css/nd.css">
    <meta name="keywords" content="{$news.kw}">
    <meta name="description" content="{$news.desc}">
{/block}
{block name='title'}
    {$news.title}
{/block}
{block name='center'}
<div class="middle-detail">
    <article class="text">
        <h1>{$news.title}</h1>
        <p class="time">发布时间：{$news.updatetime} </p>
        <hr class="layui-bg-gray">
        <div class="text-detail">
            {$news.content|raw}
        </div>
        <hr class="layui-bg-gray">
    </article>
    <section>
        <p class="bottom-title" style="color: #666666">上一篇：<a href="{if $prev == null}javascript:void(0){else}/?{$prev['hash_str']}{/if}" style="color: #333333"><span>{if $prev == null}已经到最前啦{else}{$prev['title']}{/if}</span></a></p>
        <p class="bottom-title" style="color: #666666">下一篇：<a href="{if $next == null}javascript:void(0){else}/?{$next['hash_str']}{/if}" style="color: #333333"><span>{if $next == null}已经到最后啦{else}{$next['title']}{/if}</span></a></p>
    </section>
</div>
{/block}
{block name='right'}
<div class="hot-message">
    <div class="hot-message-detail">
        <div class="hot-title">
            <div style="height: 3vw;font-size: 1.5rem;"><img src="__IMAGE__/common/fire.png" style="position: relative; width: 2vw;object-fit: contain;padding-bottom: 10px;">资讯热榜</div>
        </div>
        <hr class="layui-bg-gray">
        <ol>
            {foreach $news_hot as $key => $value}
                <li>
                    <a href="/?{$value['hash_str']}">
                        <div class="layui-row hot_box">
                            <div class="layui-col-md2 hot_img_box">
                                <img src="__IMAGE__/common/num0{$key+1}.png">
                            </div>
                            <div class="layui-col-md10 hot_title1">
                                {$value.title}
                            </div>
                        </div>
                    </a>
                </li>
            {/foreach}

        </ol>
    </div>

</div>
{/block}